package com.deep.deepenterpise.model.to.gas;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author xyz
 * @version 1.0
 * @title DrAddRefillBeforeTo
 * @description TODO 暂时写死
 * @create 2024/4/25 14:21
 */
@Data
public class DrAddRefillBeforeTo {
    private Integer drId;
    @NotBlank(message = "请录入气瓶出厂编号")
    private String drGasId;

    @NotBlank(message = "请录入充前检查时间")
    private String drCheckTime;

    @NotBlank(message = "请录入检查人员")
    private String drCheckPerson = "充装工";

    @NotNull(message = "请录入检查结果<有无气瓶制造许可证并有监督检查标记>")
    @Max(value = 1, message = "请录入正确的信息")
    @Min(value = 0, message = "请录入正确的信息")
    private Integer drXkz = 1;

    @NotNull(message = "请录入检查结果<充装气体与气瓶制造钢印标志中充装气体名称是否一致>")
    @Max(value = 1, message = "请录入正确的信息")
    @Min(value = 0, message = "请录入正确的信息")
    private Integer drMedia = 1;

    @NotNull(message = "请录入检查结果<警示标签上印有的瓶装气体的名称及化学分子式应与气瓶钢印标志是否一致>")
    @Max(value = 1, message = "请录入正确的信息")
    @Min(value = 0, message = "请录入正确的信息")
    private Integer drTag = 1;

    @NotNull(message = "请录入检查结果<气瓶是本充装站自有产权气瓶>")
    @Max(value = 1, message = "请录入正确的信息")
    @Min(value = 0, message = "请录入正确的信息")
    private Integer drZy = 1;

    @NotNull(message = "请录入检查结果<气瓶外表面的颜色标志是否符合规定>")
    @Max(value = 1, message = "请录入正确的信息")
    @Min(value = 0, message = "请录入正确的信息")
    private Integer drColor = 1;

    @NotNull(message = "请录入检查结果<气瓶瓶阀的出气口螺纹型式是否符合规定>")
    @Max(value = 1, message = "请录入正确的信息")
    @Min(value = 0, message = "请录入正确的信息")
    private Integer drGBT15383 = 1;

    @NotNull(message = "请录入检查结果<气瓶内有无剩余压力>")
    @Max(value = 1, message = "请录入正确的信息")
    @Min(value = 0, message = "请录入正确的信息")
    private Integer drPressure = 1;

    @NotNull(message = "请录入检查结果<气瓶外表面有无裂纹严重腐蚀明显变形及其他严重外部损伤缺陷>")
    @Max(value = 1, message = "请录入正确的信息")
    @Min(value = 0, message = "请录入正确的信息")
    private Integer drQx = 1;

    @NotNull(message = "请录入检查结果<气瓶在检验有效期内>")
    @Max(value = 1, message = "请录入正确的信息")
    @Min(value = 0, message = "请录入正确的信息")
    private Integer drValid = 1;

    @NotNull(message = "请录入检查结果<气瓶的安全附件齐全并符合安全要求>")
    @Max(value = 1, message = "请录入正确的信息")
    @Min(value = 0, message = "请录入正确的信息")
    private Integer drSafe = 1;

    private Long drCreateTime;
}
